package com.example.starter.mystarter;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Author: Deyou
 * @Date: 2021/4/9
 */
@ConfigurationProperties(prefix="person")
public class PersonProperties {
    public static final String DEFALUT_NAME = "张三";
    public String name = DEFALUT_NAME;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
